package com.tt.plat8.bootstrap;


import com.vaadin.annotations.VaadinServletConfiguration;
import com.vaadin.server.VaadinServlet;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;


/**
 * Created with IntelliJ IDEA.
 * UserBean: tangtao
 * Date: 14-1-17
 * Time: 下午3:42
 * To change this template use File | Settings | File Templates.
 */

@VaadinServletConfiguration(ui=Application.class, productionMode=false)
public class ApplicationServlet extends VaadinServlet {


    @Override
    protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
        System.out.println("doGet");
        super.doGet(req,resp);
    }

    @Override
    protected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
        System.out.println("doPost");
        super.doPost(req,resp);
    }
}
